﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Utility;
using HKEA.CMS.Core.Models;
namespace HKEA.CMS.Core.IDAL.Tbl
{
    public interface ItblBrand_ProdCat
    {
        int InsertENT(tblBrand_ProdCat ent);

        int SaveList(List<int> toAddList, List<int> toDelList, int brandUID, string LastModifyBy);

        List<tblBrand_ProdCat> GetListByENT(tblBrand_ProdCat ent, PageParam param, string strPropertyName,string strOrderBy);

        List<tblBrand_ProdCat> GetList(tblBrand_ProdCat ent, List<int> withOutList);

        List<mtblProductSubCat> GetSubCatListByBrandUID(int uid);
        List<mtblProductSubCat> GetSubCatListByBrandUID(int uid, List<int> withOutList);
        
        List<tblBrand_ProdCat> GetListByENT(tblBrand_ProdCat ent);

        int GetCountByENT(tblBrand_ProdCat ent);

        int UpdateENT(tblBrand_ProdCat ent);

        int DeleteENT(tblBrand_ProdCat ent);
    }
}
